package com.lagou.response;
public class RpcResponse {

    /**
     * 成功
     */
    public static final int OK = 0;
    /**
     * 失败
     */
    public static final int ERROR = 500;

    /**
     * 返回码
     */
    private Integer code;

    /**
     * 响应数据
     */
    private Object data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
